//
//  WelfareHeaderView.m
//  MindBox
//
//  Created by MS on 16-1-13.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import "WelfareHeaderView.h"

@interface WelfareHeaderView ()

@end

@implementation WelfareHeaderView


+(instancetype)welfareheadViewWithXib
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil] lastObject];
}

- (IBAction)shareBtnClick:(id)sender {
    
    [[NSNotificationCenter defaultCenter] postNotificationName:@"Share" object:nil];
    
   
}




-(void)awakeFromNib
{
    
    _shareBtn.layer.cornerRadius = 5;
    _shareBtn.clipsToBounds = YES;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
